<script>
import BaseDataBox from '../common/BaseDataBox';
import { reqPost } from 'global/axios';

export default {
  extends: BaseDataBox,

  data() {
    return {
      title: '重点项目',
      icon: 'project',
      value: '',
    };
  },

  async mounted() {
    let { status, result } = await reqPost({
      data: {},
      url: '/bus/project/count',
    });
    status && (this.value = result);
  },

  methods: {
    click() {
      this.$router.push('/home/chief-major');
    },
  },
};
</script>